package cn.gson.crm.model.entity;

import java.util.Date;

import javax.persistence.*;

import org.springframework.format.annotation.DateTimeFormat;

import lombok.Data;
/**
 * id、company、ivtime、result、studentId、interData、delete、job、plan、message
 * 编号、面试公司、面试时间、面试结果、学员id、面试资料id、是否删除、面试职位、预案、老师留言
 * @author asus
 *
 */
@Entity
@Table(name = "tb_jy_interview")
@Data
public class JyInterview {
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name="tb_interview_id")
	private Long id;
	
	private String company;
	
	private String ivtime;
	
	@Column(name = "inter_job")
	private String job;
	
	@Column(name = "inter_plan")
	private String plan;
	
	@Column(name = "leave_message")
	private String message;
	
	private Integer result;
	
	@Column(name="is_delete")
	private Boolean delete;
	
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name="student_id")
	private Student student;
	
	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "inter_data_id")
	private JyInterViewData interData;

}
